<script setup lang="ts">
const obj = {
  name: '张三',
  age: 18
}
type Tobj = typeof obj

const obj2: Tobj = {
  name: 'xxx',
  age: 20
}

const rightEvent = () => {
  console.log('执行了右边点击')
}
</script>

<template>
  <div class="play-page">
    <van-button>按钮</van-button>
    <HmTest xxx="abc"></HmTest>
    <CpNavBar @rightEvent="rightEvent" right-text="保存"></CpNavBar>
    <hr />
    <svg aria-hidden="true">
      <!-- <use href="#icon-文件夹路径-文件名"  /> -->
      <use href="#icon-home-docs" />
    </svg>
  </div>
</template>

<style lang="scss" scoped></style>
